projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48a9fec
)
(dired-insert-directory): When looking for existing
author
Andreas Schwab
<schwab@suse.de>
Sat, 12 Oct 2002 23:30:22 +0000
(23:30 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Sat, 12 Oct 2002 23:30:22 +0000
(23:30 +0000)
indentation, goto OPOINT instead of beginning of buffer.
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 6aebd08d4875c790899a48e223d4b9eb7b0fffda..e26447fbd2f9c0d13bbba5048007520f0a133f25 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-701,7
+701,7
@@
If HDR is non-nil, insert a header line with the directory name."
;; If we used --dired and it worked, the lines are already indented.
;; Otherwise, indent them.
(unless (save-excursion
- (
beginning-of-buffer
)
+ (
goto-char opoint
)
(looking-at " "))
(let ((indent-tabs-mode nil))
(indent-rigidly opoint (point) 2)))